from openai import OpenAI


def deepseek_client(system_content, user_content):
    client = OpenAI(api_key="sk-407465898aeb4e8d93b740abdf1ead57", base_url="https://api.deepseek.com")
    resp = client.chat.completions.create(
        model="deepseek-chat",
        messages=[
            {"role": "system", "content": system_content},
            {"role": "user", "content": user_content},
        ],
        stream=False
    )

    return resp.choices[0].message.content
